package com.zeng.mapper;

import com.zeng.pojo.User;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.context.annotation.Bean;

/**
 * @author zeng
 * @date 2021/08/05 20:25
 */
public class MyBatisConfig {
    @Bean
    public UserMapper userMapper() throws Exception {
        //SqlSessionTemplate sqlSessionTemplate = new SqlSessionTemplate();
        //return sqlSessionTemplate.getMapper(UserMapper.class);
        return null;
    }
}
